﻿<UserControl x:Class="AnthStat.WPF.Presentation.Controls.About"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Height="420" Width="460"
             d:DesignHeight="250" d:DesignWidth="400">
    <Border BorderBrush="{StaticResource AccentVeryLightBrush}" BorderThickness="1" Background="White" Padding="10">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <StackPanel Grid.Row="0" Margin="0, 0, 0, 20">
                <TextBlock FontWeight="SemiBold" FontSize="24" Text="ANTHSTAT"/>
                <TextBlock FontWeight="Normal" FontSize="12" Foreground="{StaticResource AccentBrush}" x:Name="tblockVersion" Text=""/>
            </StackPanel>

            <StackPanel Grid.Row="1">
                <TextBlock TextWrapping="Wrap">AnthStat is developed and maintained by Erik Knudsen as a technology demonstration. Use accordingly and at your own risk. No guarantees are made as to the software's correctness or accuracy. Copyright 2015. See <Hyperlink NavigateUri="http://anthstat.codeplex.com" RequestNavigate="Hyperlink_RequestNavigate">http://anthstat.codeplex.com</Hyperlink> for source code and documentation.</TextBlock>
                <StackPanel Height="10" />
                <TextBox x:Name="gplLicenseText" Height="200" VerticalScrollBarVisibility="Visible" IsReadOnly="True" />
            </StackPanel>

            <StackPanel Grid.Row="2" Grid.ColumnSpan="3" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0, 30, 0, 0" >
                <Button Style="{StaticResource DarkButtonStyle}" Width="100" IsEnabled="True" Background="{StaticResource AccentLightBrush}" Content="Close"
                        Command="{Binding ToggleAboutBoxCommand}"/>
            </StackPanel>
        </Grid>
    </Border>
</UserControl>
